<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head> 
    <title>单位列表</title>
    
<script language="javascript" type="text/javascript">
function submitSearch(obj)
{
	obj.submit();
}
function checkAll()
{
	
}
function operateAction(ope, obj)
{
	//添加
	if (ope == "add")
	{
		obj.action = "<%=request.getContextPath()%>/security/unitmanage_addAction.action";
		obj.submit();
		
	}
	//修改
	if (ope == "update")
	{
		
		
		obj.action = "";
		obj.submit();	
	}		
	//删除
	if (ope == "delete")
	{
		obj.action = "";
		obj.submit();	
	}
}
</script>
  </head>
  
  <body>
  <form name="searchunitform" method="post" action="" >
	<table width="100%">
	  <tr>
		<td colspan="2" align="center">单位列表</td>
	  </tr>
	  <tr>
		<td width="25%">单位名称
		  <input name="searchunitname" type="text" size="25" /></td>
    <td width="75%"><input class="no" type="button" onClick="submitSearch(this.form)"/></td>
	  </tr>
	</table>
  </form>  
  <form  name="operateuserform" method="post" action="" >
    <table>
      <tr>
        <td><input type="checkbox" onClick="checkAll()" /></td>
        <td>序号</td><td>单位名称名</td><td>所在城市</td><td>资质证书号</td>
        <td>法人代表</td><td>联系电话</td><td>单位传真</td>
      </tr>
      
      <tr>
        <td colspan="9" align="center">
        <input id="add" type="button" value="添 加" onClick="operateAction(this.id, this.form)" />&nbsp;&nbsp;
        <input id="update" type="button" value="修 改" onClick="operateAction(this.id, this.form)" />&nbsp;&nbsp;
        <input id="delete" type="button" value="删 除" onClick="operateAction(this.id, this.form)" />
        </td>
      </tr>
    </table>
    
  </form>
  </body>
</html>
